package com.leo.ibatis.demo.service;

import java.util.List;

import com.leo.ibatis.demo.criteria.SupplierCriteria;
import com.leo.ibatis.demo.domain.Supplier;

public interface SupplierService {

	void insert(Supplier supplier);

	int update(Supplier supplier);

	int delete(int suppid);
	
	Supplier select(int suppid);

	List<Supplier> list(SupplierCriteria supplierCriteria);

	List<Supplier> listOnPage(SupplierCriteria supplierCriteria);

}
